package jmu.cze.service;

import jmu.cze.pojo.AircraftModel;
import jmu.cze.pojo.Flight;
import jmu.cze.vo.Terminal;

import java.util.List;
import java.util.Map;

public interface FlightService {

    Map<Integer, Terminal> selectAllTerminals();

    boolean deleteAircraftModelByID(int modelID);

    boolean insertAircraftModel(AircraftModel aircraftModel);

    boolean updateAircraftModel(AircraftModel aircraftModel);

    Map<Integer, AircraftModel> selectAllAircraftModels();

    boolean deleteFlightByID(int flightID);

    boolean insertFlight(Flight flight);

    List<Flight> selectAllFlights();

    boolean updateFlight(Flight flight);
}
